package com.lhwl.it.util;

import java.util.HashMap;

public class Pmap extends HashMap {

	@Override
	public Object remove(Object key) {
		if (key==null) return null;
		String lowerkey=key.toString().toLowerCase();				
		return super.remove(lowerkey);
	}

	@Override
	public void clear() {
		super.clear();
	}

	@Override
	public Object get(Object key) {
		if (key==null)return null;
		String lowerkey=key.toString().toLowerCase();
		return super.get(lowerkey);
	}

	@Override
	public Object put(Object key, Object value) {
		if (key==null) return null;
		String lowerkey=key.toString().toLowerCase();		
		return super.put(lowerkey, value);
	}
	
	
	public Object putProtoType(Object key, Object value) {
		return super.put(key, value);
	}

}
